Voltage to current converter

ABSTRACT

The voltage to current converter according to the present embodiments includes a charge transfer device, a smoother and a current generator. The charge transfer device accumulates charge corresponding to an input voltage, and transfers the accumulated charge. The smoother accumulates the transferred charge to smooth an output voltage. The current generator generates a current corresponding to the input voltage by use of a current corresponding to the charge accumulated in the smoother.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a divisional application of Application Ser. No.15/454,554 filed Mar. 9, 2017 and is based upon and claims the benefitof priority from the prior US Provisional Patent Application No.62/307,770 filed on Mar. 14, 2016, the entire contents of which areincorporated herein by reference.

FIELD

Embodiments relate to a voltage to a current converter.

BACKGROUND

A voltage to current converter that converts an input voltage to acurrent is used in various kinds of devices driven by a current. Forsuch a voltage to current converter, techniques for securing linearitybetween a voltage and a current as well as an output range of thecurrent are suggested. One of them is a voltage to current converterusing an operational amplifier.

However, the voltage to current converter using an operational amplifierhas a problem of requiring large power consumption.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing a voltage to current converter of afirst embodiment;

FIG. 2 is a circuit diagram showing the voltage to current converter ofthe first embodiment;

FIG. 3 is a waveform diagram showing an operation example of the voltageto current converter of the first embodiment;

FIG. 4 is a circuit diagram showing a voltage to current converter of asecond embodiment;

FIG. 5 is a waveform diagram showing an operation example of the voltageto current converter of the second embodiment;

FIG. 6 is a circuit diagram showing a voltage to current converter of amodified example of the second embodiment;

FIG. 7 is a waveform diagram showing an operation example of the voltageto current converter of the modified example of the second embodiment;

FIG. 8 is a circuit diagram showing a voltage to current converter of athird embodiment;

FIG. 9A is a circuit diagram showing a bias circuit applicable to thevoltage to current converter of the third embodiment, and FIG. 9B is agraph showing temperature characteristics of a reference voltageobtained by the bias circuit in FIG. 9A;

FIG. 10 is a waveform diagram showing an operation example of thevoltage to current converter of the third embodiment;

FIG. 11 is a circuit diagram showing a voltage to current converter of amodified example of the third embodiment;

FIG. 12 is a waveform diagram showing an operation example of thevoltage to current converter in the modified example of the thirdembodiment;

FIG. 13 is a circuit diagram showing a voltage to current converter of afourth embodiment;

FIG. 14 is a waveform diagram showing an operation example of thevoltage to current converter of the fourth embodiment;

FIG. 15 is a circuit diagram showing a voltage to current converter of amodified example of the fourth embodiment;

FIG. 16 is a waveform diagram showing an operation example of thevoltage to current converter in the modified example of the fourthembodiment; and

FIG. 17 is a circuit diagram showing a voltage to current converter of afifth embodiment.

DETAILED DESCRIPTION

Each of the voltage to current converters according to the presentembodiments includes a charge transfer device, a smoother and a currentgenerator. The charge transfer device accumulates charge correspondingto an input voltage, and transfers the accumulated charge. The smootheraccumulates the transferred charge to smooth an output voltage. Thecurrent generator generates a current corresponding to the input voltageby use of a current corresponding to the charge accumulated in thesmoother.

Embodiments will now be explained with reference to the accompanyingdrawings. The present invention is not limited to the embodiments.

First Embodiment

FIG. 1 is a block diagram showing a voltage to current converter 1 ofthe first embodiment. The voltage to current converter 1 can be used in,for example, a power source, a signal source, a sensor or others drivenby a current. Moreover, the voltage to current converter 1 can beconfigured by, for example, a semiconductor integrated circuit. Thevoltage to current converter 1 includes a charge transfer device 2, asmoother 3 and a current generator 4.

The charge transfer device 2 transfers accumulated charge Q to thesmoother 3 in accordance with an input voltage Vin, that is, apower-supply voltage.

The smoother 3 accumulates the charge Q to smooth an output voltage.Moreover, during the process of smoothing, the smoother 3 outputs acurrent Iin converted corresponding to the accumulated charge Q to thecurrent generator 4.

The current generator 4 generates a current Iout corresponding to theinput voltage Vin by use of the current Iin and outputs thereof.

FIG. 2 is a circuit diagram showing a specific configuration example ofthe voltage to current converter 1 of the first embodiment.

(Charge Transfer Device 2)

The charge transfer device 2 includes a first capacitor C1, a firstswitch SW1, a second switch SW2 and a controller 200.

The first switch SW1 and the second switch SW2 are connected in seriesbetween an input terminal 20 and the current generator 4. The firstswitch SW1 is connected between the input terminal 20 and one end of thefirst capacitor C1. The second switch SW2 is connected between the oneend of the first capacitor C1 and the current generator 4. Thecontroller 200 controls turning on and off of the switches SW1 and SW2.For example, the controller 200 alternately turns on and off of theswitches SW1 and SW2 every period T. The switches SW1 and SW2 are, forexample, MOS transistors or others. The input terminal 20 is an externalinput terminal to which the input voltage Vin is input.

The other end of the first capacitor C1 is grounded. The first capacitorC1 accumulates charge Q1 corresponding to the input voltage Vin when thefirst switch SW1 is on and the second switch SW2 is off. Moreover, whenthe first switch SW1 is off and the second switch SW2 is on, the firstcapacitor C1 outputs the accumulated charge Q1 to the smoother 3. Forexample, in a steady state in which an output voltage Vout of thesmoother 3 is stable, the first capacitor C1 accumulates the charge Q1of a value C1 (Vin-Vout), which is obtained by multiplying a differencebetween the input voltage Vin and the output voltage Vout by a capacityC1 of the first capacitor C1. In other words, the first capacitor C1 isable to obtain charge having linearity with respect to the input voltageVin.

By on and off operations of the switches SW1 and SW2, the charge Q1 isdiscretely transferred to the smoother 3.

(Smoother 3)

The smoother 3 includes a second capacitor C2. The second capacitor C2accumulates or discharges charge Q2 in response to turning on or off ofthe second switch SW2. Moreover, the second capacitor C2 converts thecharge Q2 into a constant current having continuous linearity. Since thesecond capacitor C2 is a smoothing capacity, it is desirable that thesecond capacitor C2 has a large capacity. One end of the secondcapacitor C2 is connected to one other end of the second switch SW2, andthe other end of the second capacitor C2 is grounded.

The current converted by the second capacitor C2 has a value obtained bydividing an integrated value of charge with a period T as an integrationinterval by the period T. Since the charge Q1 has linearity, the currentIin also has linearity. Consequently, with the second capacitor C2, itis possible to obtain a current having linearity with respect to theinput voltage Vin.

(Current Generator 4)

The current generator 4 includes a current mirror circuit 41 thatoutputs the current Tout. The current mirror circuit 41 includes a firstcurrent path 411 that passes the current Iin corresponding to theaccumulated charge Q2 of the second capacitor C2 and a second currentpath 412 that passes the current Tout proportional to the current Iin.More specifically, the current mirror circuit 41 includes an n-typefirst MOS transistor M1 that is diode-connected, and an n-type secondMOS transistor M2 that is gated in common with the first MOS transistorM1.

In the first MOS transistor M1, a drain is connected to the one end ofthe second capacitor C2, and a source is grounded. In the second MOStransistor M2, a drain is connected to an output terminal 40, and asource is grounded. The current Tout is output from the output terminal40.

With the current mirror circuit 41, by causing the second MOS transistorM2 to copy the current Iin input to the drain (the current input nodeNin) of the first MOS transistor M1, it is possible to obtain the outputcurrent Tout proportional to the input current Iin. In the period T,when fluctuations in the input voltage Vin are small, the input currentIin has linearity with respect to the input voltage Vin. This isreferred to as “small signal”. In the small signal, the input currentIin has linearity with respect to the input voltage Vin. Therefore, theoutput current Tout also has linearity with respect to the input voltageVin.

Note that, in FIG. 1, the other ends of the capacitors C1 and C2, andthe sources of the MOS transistors M1 and M2 are all grounded. It isunnecessary to limit the embodiment to the configuration like this, and,for example, a power supply may be connected in place of the ground. Inthis case, the MOS transistors M1 and M2 may be changed to those ofp-type. Moreover, the other end of each element may be connected to anode of an arbitrary potential or the like.

Moreover, the gate width of the second MOS transistor M2 may be the sameas or different from the gate width of the first MOS transistor M1. Inaddition, the capacitors C1 and C2 are elements independent from wiringor the MOS transistors, and may have a MOM (Metal-Oxide-Metal) capacity,a MIM (Metal-Insulator-Metal) capacity or a MOS capacity.

(Operation Example)

FIG. 3 is a waveform diagram showing an operation example of the voltageto current converter 1 of the first embodiment. In FIG. 3, a waveformWF_SW1 of the first switch SW1, a waveform WF_SW2 of the second switchSW2, the input voltage Vin, a potential Vc1 of the one end of the firstcapacitor C1 and the output voltage Vout of the second capacitor C2 areshown. Note that the output voltage Vout corresponds to the gate inputof the current mirror circuit 41. Moreover, since the other end of thefirst capacitor C1 in FIG. 2 is grounded, Vc1 is also a voltage betweenboth ends of the first capacitor C1.

As indicated by the waveforms WF_SW1 and WF_SW2 in FIG. 3, Thecontroller 200 performs control that turns off the second switch SW2during an on-period Ton_SW1 in which the first switch SW1 is on, andperforms control that turns off the first switch SW1 during an on-periodTon_SW2 in which the second switch SW2 is on. Moreover, the controller200 performs control that provides an off-period Toff_all in which bothfirst switch SW1 and second switch SW2 are off between the on-periodTon_SW1 and the on-period Ton_SW2. Turning on of both switches SW1 andSW2 can be prevented by providing the off-period Toff_all. This preventsa current path for discharge from the second capacitor C2 side to thefirst capacitor C1 side from appearing, and therefore, it is possible toeliminate a short circuit condition between the input voltage Vin andthe output voltage Vout. As a result, an unintended current can beprevented from flowing into and flowing out of the capacitors C1 and C2.

After the voltage to current converter 1 is started up, the first switchSW1 is turned on at the time point t1, and the input voltage Vin isinput to the first capacitor C1 through the input terminal 20. The firstcapacitor C1 accumulates charge corresponding to the input voltage Vin.The charge Q1 accumulated in the first capacitor C1 at the beginning ofthe startup of the voltage to current converter 1 is: Q1=C1×Vin.

After the first switch SW1 is turned off at the time point t2, thesecond switch SW2 is turned on at the time point t3, and the chargeaccumulated in the first capacitor C1 is transferred to the secondcapacitor C2. The charge Q to be transferred is represented by thefollowing expression.

Q=C1 (Vin-Vout)   (1)

Note that, at the beginning of startup of the voltage to currentconverter 1, since sufficient charge is not accumulated in the secondcapacitor C2, the second capacitor C2 cannot fulfill the function ofsmoothing the output voltage Vout sufficiently. Consequently, at thebeginning of startup of the voltage to current converter 1, the outputvoltage Vout is not stable and brought into a transient state S1.

After the time point t3, sufficient charge is accumulated in the secondcapacitor C2 by alternately repeating on and off of the switches SW1 andSW2. Accordingly, the second capacitor C2 is able to smooth the outputvoltage Vout and stabilize thereof in a constant value. In the exampleof FIG. 3, the output voltage Vout can be maintained in a steady stateS2 after the time point t4. Note that, in the steady state S2, amplitudeof the output voltage Vout rises C1/C2 fold of the input voltage Vin.Moreover, the potential Vc1 repeats the change to the input potentialVin by turning on of the first switch SW1 and the change to the outputpotential Vout by turning off of the first switch SW1.

The output voltage Vout is input to a common gate of the MOS transistorsM1 and M2. The first MOS transistor M1 operates to pass the inputcurrent Iin corresponding to the charge Q2. Specifically, the first MOStransistor M1 operates in any of a saturation region and a weakinversion region in response to a magnitude of the input current Iin.Note that, in the steady state S2, the input current Iin is stabilizedin a constant value.

Moreover, the second MOS transistor M2 passes a current (b/a)×Iin, whichis obtained by multiplying the input current Iin by a ratio of a gatewidth a of the first MOS transistor M1 to a gate width b of the secondMOS transistor M2, as the output current Iout.

Here, the operation of the first MOS transistor M1 can be regarded asthe small signal. In other words, a drain current of the first MOStransistor M1 can be subjected to linear approximation as a productgm1×Vout of a transconductance gm1 of the first MOS transistor M1 and agate voltage Vout. Accordingly, the charge Q consumed in every period Tin the first MOS transistor M1 is represented by the followingexpression.

Q=gm1×Vout×T   (2)

Moreover, similarly, in consideration of the operation of the second MOStransistor M2 as the small signal, the charge Q consumed in every periodT in the second MOS transistor M2 is represented by the followingexpression.

Q=gm2×Vout×T   (3)

Further, expression (3) can be deformed as the following expression.

Iout=gm2×Vout   (4)

Then, by eliminating Vout and Q from expressions (1), (2) and (4) andapproximating by gm1×T>>C1, the following expression is derived.

$\begin{matrix}( {{Expression}\mspace{14mu} 1} ) & \; \\{{Iout} \propto {\frac{{gm}\; 2 \times C\; 1}{( {{{gm}\; 1 \times T} + {C\; 1}} )}{Vin}} \approx {\frac{{gm}\; 2 \times C\; 1}{{gm}\; 1 \times T}{Vin}}} & (5)\end{matrix}$

The output current Tout can be approximated by a linear expression ofthe input voltage Vin.

In other words, with the voltage to current converter 1, it is possibleto obtain an output current Tout having high linearity with the inputvoltage Vin. Consequently, based on the input voltage, the outputcurrent can be easily controlled with high accuracy.

Here, assuming that an ideal line, namely, a relation of a linearexpression holds true between the input voltage and the output current,the linearity is quantifiable as a difference [%] between the maximumvalue and the minimum value in the deviation of the output current tothe ideal line. In the linearity quantified as described above, thesmaller the value, the better. A simulation result of the quantifiedlinearity with respect to the voltage to current converter 1 of thefirst embodiment was 0.26%.

In contrast thereto, a simulation result of the quantified linearitywith respect to a VCC (Voltage-Current Converter) of anamplifier-feedback type, which is an example of a voltage to currentconverter using an operational amplifier, was 0.51%. In other words, thelinearity of the VCC of an amplifier-feedback type was worse than thevoltage to current converter 1.

The voltage to current converter 1 is able to realize the linearity asshown in expression (5) by performing voltage-to-current conversionusing charge transfer. Consequently, with the voltage to currentconverter 1, high linearity can be satisfied as compared to the case ofusing an operational amplifier.

Moreover, since an operational amplifier with large power consumption isnot used, the voltage to current converter 1 is able to efficientlyperform voltage-to-current conversion with small poser consumption.According to the simulation results, the power consumption of the VCC ofan amplifier-feedback type was 3500 nA, whereas the power consumption ofthe voltage to current converter 1 was 200 nA. Consequently, the voltageto current converter 1 is able to reduce power consumption as comparedto the VCC of an amplifier-feedback type.

Moreover, if the first MOS transistor M1 operates in the weak inversionregion with less drain current Iin, it is possible to further reduce thepower consumption.

Moreover, according to the simulation results, the output range of thevoltage to current converter 1 extended from a threshold voltage Vth tothe input voltage Vin of the first MOS transistor M1, and thereby asufficiently wide range was obtained.

The voltage to current converter 1 converts the charge discretized bythe charge transfer device 2 into a continuous value by the smoother 3.The current Iin generated from the conversion process can be controlledby a capacity ratio between the first MOS transistor M1 and the secondMOS transistor M2. Consequently, a voltage can be converted into acurrent with simple design.

Moreover, in the first embodiment, a switched capacitor configured withthe first capacitor C1 and the switches SW1, SW2 is regarded as a singleresistance, and the charge is converted into a constant current by an RCfilter configured with the resistance and the second capacitor C2. Withsuch a configuration, since a resistance is not included, the number ofparts can be reduced.

As described above, according to the first embodiment, the powerconsumption can be reduced while improving the linearity of the outputcurrent Iout corresponding to the input voltage Vin.

Second Embodiment

Next, as a second embodiment, a voltage to current converter includingmultiple signal paths will be described. Note that, in the secondembodiment, configurations corresponding to those in the firstembodiment are provided with same reference signs to omit redundantdescriptions. FIG. 4 is a circuit diagram showing the voltage to currentconverter 1 of the second embodiment. In addition to the configurationof the first embodiment, the voltage to current converter 1 in FIG. 4further includes a sixth switch SW6, a seventh switch SW7 and a thirdcapacitor C3.

The sixth switch SW6 and the seventh switch SW7 are connected in seriesbetween an input terminal 20 and a current input node Nin. Moreover, thesixth switch SW6 and the seventh switch SW7 are connected in parallel tothe switches SW1 and SW2 between a first node N1 and a second node N2.The first node N1 is a connection point between the input terminal 20and one end of the first switch SW1. The second node N2 is a connectionpoint between the other end of the second switch SW2 and the currentinput node Nin.

One end of the third capacitor C3 is connected to a connection pointbetween the sixth switch SW6 and the seventh switch SW7, and the otherend thereof is grounded. The capacity of the third capacitor C3 is, forexample, the same as the capacity of the first capacitor C1. Thecapacity of the third capacitor C3 may be different from the capacity ofthe first capacitor C1.

The third capacitor C3 accumulates charge corresponding to the inputvoltage Vin when the sixth switch SW6 is on and the seventh switch SW7is off. Moreover, when the sixth switch SW6 is off and the seventhswitch SW7 is on, the third capacitor C3 outputs the accumulated chargeto the smoother 3.

Provided with the sixth switch SW6, the seventh switch SW7 and the thirdcapacitor C3, the charge transfer device 2 includes two signal pathsbetween the first node N1 and the second node N2.

FIG. 5 is a waveform diagram showing an operation example of the voltageto current converter 1 of the second embodiment. Note that, in FIG. 5,the output voltage Vout that has finished the transient state and is inthe steady state is shown. Moreover, Vc3 in FIG. 5 is a potential of theone end of the third capacitor C3.

As indicated by the waveforms WF_SW1, SW7 and WF_SW2, SW6 in FIG. 5, thecontroller 200 performs control that synchronizes the first switch SW1and the seventh switch SW7, synchronizes the second switch SW2 and thesixth switch SW6, and turns on or off. Moreover, the controller 200performs control that turns off the switches SW2 and SW6 during anon-period Ton_SW1, 7 in which the switches SW1 and SW7 are on. Moreover,the controller 200 performs control that turns off the switches SW1 andSW7 during an on-period Ton_SW2, 6 in which the switches SW2 and SW6 areon.

Moreover, the controller 200 performs control that provides anoff-period Toff_all in which the switches SW1, SW2, SW6 and SW7 are offbetween the on-period Ton_SW1, 7 and the on-period Ton_SW2, 6.

In the second embodiment, an on-period Ton_SW7 of the seventh switchSW7, in which the charge of the third capacitor C3 is transferred, issynchronized with the on-period Ton_SW1 of the first switch SW1, inwhich the charge is accumulated in the first capacitor C1. Moreover, theon-period Ton_SW2 of the second switch SW2, in which the charge of thefirst capacitor C1 is transferred, is synchronized with an on-periodTon_SW6 of the sixth switch SW6, in which the charge is accumulated inthe third capacitor C3.

In other words, in the second embodiment, accumulation and transfer ofthe charge are performed in parallel. Consequently, a charge transferamount, namely, the output current Iout can be increased. For example,when the capacities of the first capacitor C1 and the third capacitor C3are the same, the charge transfer amount can be doubled in the secondembodiment, as compared to the first embodiment. In the configuration ofFIG. 4, the charge transfer device 2 includes two signal paths. Thepresent embodiment is not limited to such a configuration; for example,the charge transfer device 2 may include three or more signal paths.When the charge transfer device 2 includes three or more signal paths,the number of pairs of the switch and the capacitor connected inparallel may be three or more between the first node N1 and the secondnode N2. Moreover, on that occasion, a clock to each switch connected inparallel may be provided independently. This allows, for example, thecharge transfer amount to be more than tripled, as compared to the firstembodiment.

MODIFIED EXAMPLE

Next, as a modified example of the second embodiment, an example inwhich the number of capacitors is reduced in a voltage to currentconverter including multiple signal paths will be described. Note that,in the modified example, configurations corresponding to those in theabove-described embodiments are provided with same reference signs toomit redundant descriptions. FIG. 6 is a circuit diagram showing thevoltage to current converter 1 of the modified example of the secondembodiment. In addition to the configuration of the first embodiment,the voltage to current converter 1 in FIG. 6 further includes an eighthswitch SW8 and a ninth switch SW9.

The eighth switch SW8 and the ninth switch SW9 are connected in parallelto the switches SW1 and SW2 between the first node N1 and the secondnode N2. The eighth switch SW8 is connected between the first node N1and the other end of the first capacitor C1. The ninth switch SW9 isconnected between the other end of the first capacitor C1 and the secondnode N2. In other words, since not being grounded, the first capacitorC1 in the modified example is a floating capacity.

FIG. 7 is a waveform diagram showing an operation example of the voltageto current converter 1 of the modified example of the second embodiment.In FIG. 7, Vc11 is a potential of the one end of the first capacitor C1.Vc12 is a potential of the other end of the first capacitor C1.

As indicated by the waveforms WF_SW1, SW9 and WF_SW2, SW8 in FIG. 7, thecontroller 200 performs control that synchronizes the first switch SW1and the ninth switch SW9, synchronizes the second switch SW2 and theeighth switch SW8, and turns on or off.

Moreover, the controller 200 performs control that turns off theswitches SW2 and SW8 during an on-period Ton_SW1, 9 in which theswitches SW1 and SW9 are on. Moreover, the controller 200 performscontrol that turns off the switches SW1 and SW9 during an on-periodTon_SW2, 8 in which the switches SW2 and SW8 are on.

Moreover, the controller 200 performs control that provides anoff-period Toff_all in which the switches SW1, SW2, SW8 and SW9 are offbetween the on-period Ton_SW1, 9 and the on-period Ton_SW2, 8. In themodified example, also, accumulation and transfer of the charge areperformed in parallel.

Moreover, as shown in FIG. 7, in the modified example, the input voltageVin is reduced at the time point t1 by controlling a power supply. Byswitch control like this, in the modified example, the transient stateS1 and the steady state S2 are generated alternately. The output voltageVout in the steady state S2 coincides with the input voltage Vin. Whenthe input voltage Vin is reduced at the time point t1, the outputvoltage Vout is changed to the transient state S1, and thereafter, fallsto Vin after the reduction to be in a new steady state S2. Note that thevoltage to current converter 1 of the modified example constitutes anon-inverting amplifier. Consequently, though not shown in the figure,the larger the input voltage Vin is, the larger the output current Ioutis.

According to the modified example, similar to the configuration in FIG.4, the charge transfer amount can be increased. Moreover, the voltage tocurrent converter 1 in FIG. 6 does not include the third capacitor C3.Consequently, according to the modified example, it is possible toreduce the number of parts while increasing the charge transfer amount.

Third Embodiment

Next, as a third embodiment, a voltage to current converter performingtemperature compensation by use of a reference voltage will bedescribed. Note that, in the third embodiment, configurationscorresponding to those in the above-described embodiments are providedwith same reference signs to omit redundant descriptions. FIG. 8 is acircuit diagram showing a voltage to current converter 1 of the thirdembodiment. In the voltage to current converter 1 in FIG. 8, as againstthe first embodiment, the connection state between the first capacitorC1 and the switches SW1, SW2 is different. Moreover, in addition to theconfiguration of the first embodiment, the voltage to current converter1 in FIG. 8 includes a third switch SW3 and a fourth switch SW4.

The third switch SW3 switches whether or not charge corresponding to afirst reference voltage Vref1 is accumulated in the first capacitor C1.The fourth switch SW4 switches whether or not charge corresponding to asecond reference voltage Vref2 is accumulated in the first capacitor C1.The first and second reference potentials Vref1 and Vref2 are voltagesbased on the temperature characteristics of the current generator 4.Note that the reference voltages Vref1 and Vref2 may have temperaturecharacteristics such that, for example, values thereof decrease with arise in temperature. Moreover, the second reference voltage Vref2 may bea voltage different from the first reference voltage Vref1.

The first switch SW1 is connected between the input terminal 20 and theone end of the first capacitor C1. The second switch SW2 is connectedbetween the other end of the first capacitor C1 and the current inputnode Nin.

The third switch SW3 is connected between an input terminal 21 of thefirst reference voltage Vref1 and the one end of the first capacitor C1.The fourth switch SW4 is connected between the other end of the firstcapacitor C1 and an input terminal 22 of the second reference voltageVref2. The input terminals 21 and 22 are external input terminals.

The current mirror circuit 41 has temperature characteristics such thatthreshold voltages Vth of the first MOS transistor M1 and the second MOStransistor M2 vary in response to changes in temperature. To keep thevalue of the output current Iout constant regardless of the changes intemperature, it is desirable to adjust the gate input, namely, theoutput voltage Vout in response to the changes in temperature.

For adjusting the output voltage Vout in response to the changes intemperature, the first capacitor C1 inputs the first reference voltageVref1 based on the temperature characteristics of the current mirrorcircuit 41 to the input terminal 21. Alternatively, the first capacitorC1 inputs the second reference voltage Vref2 based on the temperaturecharacteristics of the current mirror circuit 41 to the input terminal22.

FIG. 9A is a circuit diagram of a bias circuit 7 applicable to thevoltage to current converter 1 of the third embodiment. The firstreference voltage Vref1 and the second reference voltage Vref2 can begenerated by, for example, the bias circuit 7 in FIG. 9A, namely, abandgap reference circuit. The bias circuit 7 may constitute avoltage-to-current conversion system together with the voltage tocurrent converter 1.

The bias circuit 7 includes p-type first to third MOS transistors Tr1 toTr3, an operational amplifier A, first and second diodes D1 and D2,first to fourth resistances R1 to R4 and first to fifth output terminalsT1 to T5. The first and second resistances R1 and R2 are variableresistances.

The MOS transistors Tr1 to Tr3 are connected in parallel between a powersupply potential and a ground potential and gated together.

The first diode D1 is connected in a forward direction between a drainof the first MOS transistor Tr1 (a node N11) and the ground potential.The first resistance R1 is connected between the node N11 and the groundpotential. In other words, the first diode D1 and the first resistanceR1 are connected in parallel between the node N11 and the groundpotential.

The second resistance R2 is connected between a drain of the second MOStransistor Tr2 (a node N12) and the ground potential. Moreover, one endof the third resistance R3 is connected to the node N12. The seconddiode D2 is connected in the forward direction between the other end ofthe third resistance R3 and the ground potential. The fourth resistanceR4 is connected between the drain of the third MOS transistor Tr3 andthe ground potential.

An output terminal of the operational amplifier A is connected to thecommon gate of the MOS transistors Tr1 to Tr3. A non-inverting inputterminal of the operational amplifier A is connected to the node N12. Aninverting input terminal of the operational amplifier A is connected tothe node N11.

The first output terminal T1 is connected to the node N11. The secondoutput terminal T2 is connected to a moving contact of the firstresistance R1. The third output terminal T3 is connected to a movingcontact of the second resistance R2. The fourth output terminal T4 isconnected to the node N12. The fifth output terminal T5 is connected tothe drain of the third MOS transistor Tr3.

Any two of the output terminals T1 to T5 are connected to the inputterminal 21 or the input terminal 22. The connection of the outputterminals T1 to T5 and the input terminals 21 and 22 may be selectivelyperformed by a switch (not shown in the figure) provided between thebias circuit 7 and the charge transfer device 2.

In the bias circuit 7, an output signal of the operational amplifier Ais fed back as an input to make the potential of the non-inverting inputterminal and the potential of the inverting input terminal equal. In theprocess, a reference voltage is generated by a voltage drop in the firstdiode D1 between the first output terminal T1 and the ground potential.Moreover, between the second output terminal T2 and the groundpotential, of the voltage corresponding to the voltage drop in the firstresistance R1, a reference voltage corresponding to a partial voltage atthe moving contact is generated. Moreover, between the third outputterminal T3 and the ground potential, of the voltage corresponding tothe voltage drop in the second resistance R2, a reference voltagecorresponding to a partial voltage at the moving contact is generated.Moreover, between the fourth output terminal T4 and the groundpotential, a reference voltage by a voltage drop in the third resistanceR3 and the second diode D2 is generated. Moreover, between the fifthoutput terminal T5 and the ground potential, a reference voltage by avoltage drop in the fourth resistance R4 is generated.

FIG. 9B is a graph showing temperature characteristics of a referencevoltage obtained by the bias circuit 7 in FIG. 9A. In FIG. 9B,characteristics of the reference voltage generated in each of the outputterminals T1 to T5 are representatively shown. The reference voltageobtained in the bias circuit 7 has temperature characteristics thatlinearly vary with changes in temperature. This is because the referencevoltage is generated based on the current in the MOS transistors Tr1 toTr3 in which the threshold voltage Vth has the temperaturecharacteristics. Note that the slop of the temperature characteristicsof the fifth output terminal T5 can be arbitrarily changed to positive,negative or 0 by the number of resistances, capacitors and diodesconnected in parallel.

By inputting such a reference voltage to the first capacitor C1, it ispossible to adjust the output voltage Vout to make the output currentIout constant regardless of the changes in temperature, namely, toperform temperature compensation. Moreover, these reference voltages maybe, for example, connected in place of a grounding part to the first andsecond capacitors C1 and C2 in the first embodiment, or may be connectedin place of a grounding part to the first to third capacitors C1 to C3in the second embodiment.

FIG. 10 is a waveform diagram showing an operation example of thevoltage to current converter 1 of the third embodiment. As indicated bythe waveforms WF_SW1, SW4 and WF_SW2, SW3 in FIG. 10, the controller 200performs control that synchronizes the switches SW1 and SW4,synchronizes the switches SW2 and SW3, and turns on or off.

Moreover, the controller 200 performs control that turns off theswitches SW2 and SW3 during an on-period Ton_SW1, 4 of the switches SW1and SW4. Moreover, the controller 200 performs control that turns offthe switches SW1 and SW4 during an on-period Ton_SW2, 3 of the switchesSW2 and SW3. Moreover, the controller 200 performs control that providesan off-period Toff_all in which the switches SW1 to SW4 are off betweenthe on-period Ton_SW1, 4 and the on-period Ton_SW2, 3.

By such switching control, the potentials Vc11 and Vc12 of the both endsof the first capacitor C1 transit to make the difference between thereofconstant. Specifically, Vc11 repeats a change to the input potential Vinduring the on-period Ton_SW1, 4 and a change to the first referencepotential Vref1 during the on-period Ton_SW2, 3. Moreover, Vc12 repeatsa change to the second reference potential Vref2 during the on-periodTon_SW1, 4 and a change to the output potential Vout during theon-period Ton_SW2, 3._Note that, in the example in FIG. 10, the value ofthe second reference voltage Vref2 is higher than the value of the firstreference voltage Vref1.

Consequently, the output voltage Vout repeats the transient state S1 andthe steady state S2. Moreover, the output voltage Vout increases withthe decrease of the input voltage Vin.

In the third embodiment, for example, during the on-period Ton_SW1, 4,it is possible to apply a voltage corresponding to the differencebetween the input voltage Vin and the second reference voltage Vref2 tothe first capacitor C1.

For example, when the second reference voltage Vref2 has temperaturecharacteristics to increase with the rise in temperature, the higher thetemperature is, the smaller the difference between the input voltage Vinand the second reference voltage Vref2 becomes. In other words, thehigher the temperature is, the smaller voltage is applied to the firstcapacitor C1. Since the voltage applied to the first capacitor C1 issmall, the higher the temperature is, the smaller the output voltageVout, namely, the gate input of the MOS transistors M1 and M2 becomes.The MOS transistors M1 and M2 have the temperature characteristics suchthat the threshold voltage Vth becomes smaller as the temperature ishigher. Therefore, by inputting the gate voltage that becomes smaller asthe temperature is higher, the MOS transistors M1 and M2 are able topass a constant current regardless of changes in temperature.

Consequently, according to the third embodiment, by performing thetemperature compensation using the reference voltage, it is possible toobtain a constant output current Iout regardless of changes intemperature. Note that the voltage to current converter 1 of the thirdembodiment constitutes an inverting amplifier. Consequently, though notshown in the figure, the larger the input voltage Vin is, the smallerthe output current Iout becomes.

MODIFIED EXAMPLE

Next, as a modified example of the third embodiment, an example in whichthe connection state of the first capacitor C1 is changed from theconfiguration in FIG. 8 will be described. Note that, in the modifiedexample, configurations corresponding to those in the above-describedembodiments are provided with same reference signs to omit redundantdescriptions. FIG. 11 is a circuit diagram showing the voltage tocurrent converter 1 of the modified example of the third embodiment.

In the modified example, the first switch SW1 is connected between theinput terminal 20 and one end of the first capacitor C1. The secondswitch SW2 is connected between the one end of the first capacitor C1and the current input node Nin. The third switch SW3 is connectedbetween the input terminal 21 and one end of the first capacitor C1. Thefourth switch SW4 is connected between the other end of the firstcapacitor C1 and the input terminal 22.

FIG. 12 is a waveform diagram showing an operation example of thevoltage to current converter 1 of the modified example of the thirdembodiment. As indicated by the waveforms WF_SW1, SW4 and WF_SW2, SW3 inFIG. 12, the controller 200 performs control that synchronizes theswitches SW1 and SW4, synchronizes the switches SW2 and SW3, and turnson or off. Moreover, the controller 200 performs control that turns offthe switches SW2 and SW3 during an on-period Ton_SW1, 4 of the switchesSW1 and SW4. Moreover, the controller 200 performs control that turnsoff the switches SW1 and SW4 during an on-period Ton_SW2, 3 of theswitches SW2 and SW3. Moreover, the controller 200 performs control thatprovides an off-period Toff_all in which the switches SW1 to SW4 are offbetween the on-period Ton_SW1, 4 and the on-period Ton_SW2, 3.

By such switching control, the potentials Vc11 and Vc12 of the both endsof the first capacitor C1 transit to make the difference between thereofconstant. Specifically, Vc11 repeats a change to the input potential Vinduring the on-period Ton_SW1, 4 and a change to the output potentialVout during the on-period Ton_SW2, 3. Moreover, Vc12 repeats a change tothe second reference potential Vref2 during the on-period Ton_SW1, 4 anda change to the first reference potential Vref1 during the on-periodTon_SW1, 4.

Consequently, the output voltage Vout repeats the transient state S1 andthe steady state S2. Moreover, the output voltage Vout decreases withthe decrease of the input voltage Vin. In the modified example, also, byperforming the temperature compensation using the reference voltage, itis possible to obtain a constant output current Iout regardless ofchanges in temperature.

Fourth Embodiment

Next, as a fourth embodiment, an embodiment that divides the input ofthe power supply voltage into two locations will be described. Notethat, in the fourth embodiment, configurations corresponding to those inthe above-described embodiments are provided with same reference signsto omit redundant descriptions. FIG. 13 is a circuit diagram showing thevoltage to current converter 1 of the fourth embodiment. In FIG. 13, oneother end of a fifth switch SW5 is connected to the input terminal 20,and the input voltage Vin is applied. Moreover, with the configuration,control of the switch by the controller 200 differs.

FIG. 14 is a waveform diagram showing an operation example of thevoltage to current converter 1 of the fourth embodiment. As indicated bythe waveforms WF_SW1, SW2 and WF_SW3, SW5 in FIG. 14, the controller 200performs control that synchronizes the first switch SW1 and the secondswitch SW2, synchronizes the third switch SW3 and the fifth switch SW5,and turns on or off. Moreover, the controller 200 performs control thatturns off the switches SW3 and SW5 during an on-period Ton_SW1, 2 of theswitches SW1 and SW2. Moreover, the controller 200 performs control thatturns off the switches SW1 and SW2 during an on-period Ton_SW3, 5 of theswitches SW3 and SW5. Moreover, the controller 200 performs control thatprovides an off-period Toff_all in which the switches SW1 to SW3 and SW5are off between the on-period Ton_SW1, 2 and the on-period Ton_SW3, 5.

By such switching control, the potentials Vc11 and Vc12 of the both endsof the first capacitor C1 transit to make the difference between thereofconstant. Specifically, Vc11 repeats a change to the input potential Vinduring the on-period Ton_SW1, 2 and a change to the first referencepotential Vref1 during the on-period Ton_SW3, 5. Moreover, Vc12 repeatsa change to the input potential Vin during the on-period Ton_SW3, 5 anda change to the output potential Vout during the on-period Ton_SW1, 2.

Consequently, the output voltage Vout repeats the transient state 51 andthe steady state S2. Moreover, the output voltage Vout decreases withthe decrease of the input voltage Vin. In the fourth embodiment, also,by performing the temperature compensation using the first referencevoltage Vref1, it is possible to obtain a constant output current Ioutregardless of changes in temperature.

Moreover, in the fourth embodiment, an on-period Ton_SW2 of the secondswitch SW2, in which the charge of the first capacitor C1 istransferred, is synchronized with the on-period Ton_SW1 of the firstswitch SW1, in which the charge is accumulated in the first capacitorC1. Consequently, it is possible to perform accumulation and transfer ofthe charge in parallel.

Therefore, according to the fourth embodiment, it is possible tomitigate temperature dependency of the output current Iout by performingthe temperature compensation, and it is possible to increase the chargetransfer amount by synchronizing accumulation and transfer of charge.

MODIFIED EXAMPLE

Next, as a modified example of the fourth embodiment, an example inwhich the connection state of the first capacitor C1, the third switchSW3 and the fifth switch SW5 is changed from the configuration in FIG.13 will be described. Note that, in the modified example, configurationscorresponding to those in the above-described embodiments are providedwith same reference signs to omit redundant descriptions. FIG. 15 is acircuit diagram showing the voltage to current converter 1 of themodified example of the fourth embodiment. In the modified example, thefifth switch SW5 is connected between the input terminal 20 and theother end of the first capacitor C1.

FIG. 16 is a waveform diagram showing an operation example of thevoltage to current converter 1 in the modified example of the fourthembodiment. As indicated by the waveforms WF_SW1, SW3 and WF_SW2, SW5 inFIG. 16, the controller 200 performs control that synchronizes the firstswitch SW1 and the third switch SW3, synchronizes the second switch SW2and the fifth switch SW5, and turns on or off. Moreover, the controller200 performs control that turns off the switches SW2 and SW5 during anon-period Ton_SW1, 3 of the switches SW1 and SW3. Moreover, thecontroller 200 performs control that turns off the switches SW1 and SW3during an on-period Ton_SW2, 5 of the switches SW2 and SW5. Moreover,the controller 200 performs control that provides the off-periodToff_all in which the switches SW1 to SW3 and SW5 are off between theon-period Ton_SW1, 3 and the on-period Ton_SW2, 5.

By such switching control, the potentials Vc11 and Vc12 of the both endsof the first capacitor C1 transit to make the difference between thereofconstant. Specifically, Vc11 repeats a change to the input potential Vinduring the on-period Ton_SW1, 3 and a change to the output potentialVout during the on-period Ton_SW2, 5. Moreover, Vc12 repeats a change tothe input potential Vin during the on-period Ton_SW2, 5 and a change tothe first reference potential Vref1 during the on-period Ton_SW1, 3.

Consequently, the output voltage Vout repeats the transient state S1 andthe steady state S2. Moreover, the output voltage Vout decreases withthe decrease of the input voltage Vin.

In the modified example, also, by performing the temperaturecompensation using the first reference voltage Vref1, it is possible toobtain a constant output current Iout regardless of changes intemperature.

Fifth Embodiment

Next, as a fifth embodiment, an embodiment in which the currentgenerator 4 includes a cascode current mirror will be described. FIG. 17is a circuit diagram showing a voltage to current converter 1 of thefifth embodiment.

The current generator 41 in FIG. 17 is a cascode current mirror.Specifically, in addition to the configuration of the current mirrorcircuit 41 in FIG. 2, the current generator 41 further includes ann-type third MOS transistor M3 that is diode-connected, an n-type fourthMOS transistor M4 that is gated in common with the third MOS transistorM3 and a resistance R. The resistance R is provided for securing adrain-to-source voltage necessary to operate the first MOS transistor M1in the saturation region.

The third MOS transistor M3 is connected in series to a drain side ofthe first MOS transistor M1. The resistance R is connected between thecurrent input node Nin and a drain of the third MOS transistor M3. Thecommon gate of the first MOS transistor M1 and the second MOS transistorM2 is connected between the resistance R and the third MOS transistorM3. The fourth MOS transistor M4 is connected in series to a drain sideof the second MOS transistor M2.

According to the fifth embodiment, by use of the cascode current mirror,it is possible to make the drain-to-source voltages of the first andsecond MOS transistors M1 and M2 equal.

Consequently, as compared to the first embodiment, the output currentIout, which is a more exact copy of the input current Iin, can beobtained.

Note that, in FIG. 17, the configurations of the charge transfer device2 and the smoother 3 are the same as those of the first embodiment. Thecurrent mirror circuit 41 in FIG. 17 may be combined with any of thecharge transfer devices 2 in the second to fourth embodiments.

It may be possible to appropriately combine the charge transfer device2, the smoother 3 and the current generator 4 shown in the first tofifth embodiments. Moreover, when the input voltage Vin is weak, abuffer may be provided prior to the charge transfer device 2 to amplifythe voltage Vin.

While certain embodiments have been described, these embodiments havebeen presented by way of example only, and are not intended to limit thescope of the inventions. Indeed, the novel methods and systems describedherein may be embodied in a variety of other forms; furthermore, variousomissions, substitutions and changes in the form of the methods andsystems described herein may be made without departing from the spiritof the inventions. The accompanying claims and their equivalents areintended to cover such forms or modifications as would fall within thescope and spirit of the inventions.

1. A voltage to current converter comprising: a charge transfer devicethat accumulates charge corresponding to an input voltage and transfersthe accumulated charge; a smoother that accumulates the transferredcharge and smooths an output voltage; and a current generator thatgenerates a current corresponding to the input voltage by use of acurrent corresponding to the charge accumulated in the smoother; whereinthe charge transfer devise comprises: a first switch and a second switchthat are connected in series between an input terminal of the inputvoltage and an input node of the current generator; and a firstcapacitor, at least one end of which is connected between the firstswitch and the second switch, that accumulates or discharges chargecorresponding to the input voltage; a third switch that switches whetheror not charge corresponding to a first reference voltage based ontemperature characteristics of the current generator is accumulated inthe first capacitor; and a fourth switch that switches whether or notcharge corresponding to a second reference voltage based on thetemperature characteristics of the current generator is accumulated inthe first capacitor wherein the current generator comprises: a secondcapacitor that accumulates or discharges charge corresponding to acurrent caused by discharge of the first capacitor; and a current mirrorcircuit that comprises a first current path passing a first currentcorresponding to the accumulated charge in the second capacitor and asecond current path passing a second current in proportion to the firstcurrent.
 2. The voltage to current converter according to claim 1,wherein the first switch is connected between the input terminal of theinput voltage and the one end of the first capacitor, the second switchis connected between the other end of the first capacitor and the inputnode of the current generator, the third switch is connected between aninput terminal of the first reference voltage and the one end of thefirst capacitor, and the fourth switch is connected between the otherend of the first capacitor and an input terminal of the second referencevoltage.
 3. The voltage to current converter according to claim 1,wherein the first switch is connected between the input terminal of theinput voltage and the one end of the first capacitor, the second switchis connected between the one end of the first capacitor and the inputnode of the current generator, the third switch is connected between aninput terminal of the first reference voltage and the other end of thefirst capacitor, and the fourth switch is connected between the otherend of the first capacitor and an input terminal of the second referencevoltage.
 4. The voltage to current converter according to claim 2,wherein the first switch and the fourth switch are synchronized andturned on or off, the second switch and the third switch aresynchronized and turned on or off, the second switch and the thirdswitch are turned on during a period in which the first switch and thefourth switch are off, and the second switch and the third switch areturned off during a period in which the first switch and the fourthswitch are on.
 5. The voltage to current converter according to claim 1,wherein the charge transfer device comprises: a third switch thatswitches whether or not charge corresponding to a first referencevoltage based on temperature characteristics of the current generator isaccumulated in the first capacitor; and a fifth switch that switcheswhether or not charge corresponding to the input voltage is accumulatedin the first capacitor.
 6. The voltage to current converter according toclaim 5, wherein the first switch is connected between the inputterminal of the input voltage and the one end of the first capacitor,the second switch is connected between the other end of the firstcapacitor and the input node of the current generator, the third switchis connected between an input terminal of the first reference voltageand the one end of the first capacitor, and the fifth switch isconnected between the other end of the first capacitor and the inputterminal of the input voltage.
 7. The voltage to current converteraccording to claim 5, wherein the first switch is connected between theinput terminal of the input voltage and the one end of the firstcapacitor, the second switch is connected between the one end of thefirst capacitor and the input node of the current generator, the thirdswitch is connected between an input terminal of the first referencevoltage and the other end of the first capacitor, and the fifth switchis connected between the input terminal of the input voltage and theother end of the first capacitor.
 8. The voltage to current converteraccording to claim 4, wherein the first switch and the second switch aresynchronized and turned on or off, the third switch and the fifth switchare synchronized and turned on or off, the third switch and the fifthswitch are turned on during a period in which the first switch and thesecond switch are off, and the third switch and the fifth switch areturned off during a period in which the first switch and the secondswitch are on.
 9. The voltage to current converter according to claim 5,wherein the first switch and the third switch are synchronized andturned on or off, the second switch and the fifth switch aresynchronized and turned on or off, the second switch and the fifthswitch are turned on during a period in which the first switch and thethird switch are off, and the second switch and the fifth switch areturned off during a period in which the first switch and the thirdswitch are on.
 10. The voltage to current converter according to claim1, wherein the first switch is connected between the input terminal ofthe input voltage and the one end of the first capacitor, the secondswitch is connected between the one end of the first capacitor and theinput node of the current generator, and the charge transfer devicecomprises: a sixth switch and a seventh switch that are connected inseries between the input terminal of the input voltage and the inputnode of the current generator, the sixth switch and the seventh switchalso being connected in parallel to the first switch and the secondswitch between a first node, which is provided between the inputterminal of the input voltage and the first switch, and a second node,which is provided between the second switch and the input node of thecurrent generator; and a third capacitor, one end of which is connectedbetween the sixth switch and the seventh switch.
 11. The voltage tocurrent converter according to claim 10, wherein the first switch andthe seventh switch are synchronized and turned on or off, the secondswitch and the sixth switch are synchronized and turned on or off, thesecond switch and the sixth switch are turned on during a period inwhich the first switch and the seventh switch are off, and the secondswitch and the sixth switch are turned off during a period in which thefirst switch and the seventh switch are on.
 12. The voltage to currentconverter according to claim 1, wherein the first switch is connectedbetween the input terminal of the input voltage and the one end of thefirst capacitor, the second switch is connected between the one end ofthe first capacitor and the input node of the current generator, and thecharge transfer device comprises: an eighth switch that is connectedbetween a first node, which is provided between the input terminal ofthe input voltage and the first switch, and the other end of the firstcapacitor; and a ninth switch that is connected between the other end ofthe first capacitor and a second node, which is provided between thesecond switch and the input node of the current generator.
 13. Thevoltage to current converter according to claim 12, wherein the firstswitch and the ninth switch are synchronized and turned on or off, thesecond switch and the eighth switch are synchronized and turned on oroff, the second switch and the eighth switch are turned on during aperiod in which the first switch and the ninth switch are off, and thesecond switch and the eighth switch are turned off during a period inwhich the first switch and the ninth switch are on.